package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Grogshop;
import cn.wolfcode.trip.base.domain.GrogshopRoom;
import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.query.GrogshopQuery;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface GrogshopMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Grogshop grogshop);

    Grogshop selectByPrimaryKey(Long id);

    List<Grogshop> selectAll();

    int updateByPrimaryKey(Grogshop entity);
    //酒店查询
    List<Grogshop> selectForList(GrogshopQuery qo);


    //根据酒店的id查询详情
    List<Grogshop> selectForAll(Long id);
}